import cv2 as cv
import numpy as np


def main():
    img = np.ones((512, 512, 3), np.uint8) * 255

    start_point = (0, 0)
    end_point = (img.shape[1] - 1, img.shape[0] - 1)
    blue_color = (255, 0, 0)
    thickness = 5

    cv.line(img, start_point, end_point, blue_color, thickness)

    cv.imshow("Press any key to exit", img)
    cv.waitKey(0)
    cv.destroyAllWindows()


if __name__ == "__main__":
    main()
